home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Info-Mac 3
/
Info_Mac_1994-01.iso
/
Development
/
General
/
SpriteWorld 1.0b3
/
Examples
/
SpriteTest
/
About.h
< prev
next >
Wrap
Text File
|
1993-05-31
|
1KB
|
54 lines
//--------------------------------------------------------------------------------------
// About.h
//
// By: Tony Myles
//
// Copyright: © 1993 Tony Myles, All rights reserved worldwide.
///--------------------------------------------------------------------------------------
#ifndef __ABOUT__
#define __ABOUT__
#ifndef __DIALOGS__
#include <Dialogs.h>
#endif
#ifndef __EVENTS__
#include <Events.h>
#endif
#ifndef __SPRITE__
#include <Sprite.h>
#endif
enum
{
kAboutDialogID = 1000,
kEarthCIconID = 300,
kShadowCIconID = 301,
kNumberOfShadowFrames = 3,
kInitialSpeed = 14,
kMaxSpeed = 15,
kReturnChar = 0x0D,
kEnterChar = 0x03
};
#ifdef __cplusplus
extern "C" {
#endif
void DisplayAboutBox(void);
SW_PASCAL void ShadowFrameProc(SpritePtr srcSpriteP, FramePtr curFrameP, long* curFrameIndex);
SW_PASCAL void EarthMoveProc(SpritePtr srcSpriteP, Point* spritePoint);
pascal Boolean AboutDialogFilter(DialogPtr aboutDialogP, EventRecord *event, short *itemHit);
#ifdef __cplusplus
};
#endif
#endif